  	function turn_page(id, pageNumber, pageSize, totalRow, queryStr,v){
  		if(id){var value=document.getElementById(id).value;} 
  		!value&&(value=v);
  		
  		if(value){
  			var n=parseInt(value),totalPage=Math.ceil(1.0*totalRow/pageSize),from;
  			if(n>0&&n<=totalPage&&n!=pageNumber){
  				from=(n-1)*pageSize;
  				if(from>totalRow){
  					from=totalRow-pageSize>=0?totalRow-pageSize:0;
  				}
				location.href=queryStr?(queryStr.match(/pgFrom=/)?'?'+queryStr.replace(/pgFrom=\d+/,'pgFrom='+from):'?pgFrom='+from+'&'+queryStr):'?pgFrom='+from;
  			}
  		}
  	}
  	function back(){
  		if(history.length){
  			history.back()
  		}else{
  			location.href=document.referrer?document.referrer:'/';
  		}
  	}